package com.czd.support.common;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @ClassName: Constants
 * @Description: 系统常量相关配置类
 * @author GuSi
 * @date  2014-07-07
 */
public class Constants {
	/**
	 * 员工信息session key值
	 */
	public static final String SESSION_USER="SESSION_USER";

	public static final Map<Integer,String> orgType = new HashMap<>();
	public static final String PATH_FILE = "/attach/adver";
	public static final String EMPLOYEE_PATH_FILE = "attach/employee";
	public static final int    INIT_USERCODE = 80000;
	public static final String INIT_PWD      = "e10adc3949ba59abbe56e057f20f883e";
	public static final String HTTP_STR = "http://";
	public static final int    MANAGER_CODE = 10000;
	/**
	 *
	 */
	public static final String EMAIL_ACTIVATE_URL ="http://member.51czd.cn/account/activate/{0}/{1}";
	public static final String EMAIL_RETRIEVE_URL ="http://member.51czd.cn/account/retrieve/{0}/{1}";
	/**
	 * 验证码cookie key 值
	 */
	public static final String VERIFICATION_CODE="VERIFICATION_CODE";
	/**
	 * 验证码cookie 过期时间 单位秒
	 */
	public static final int    VERIFICATION_CODE_EXPIRATION_TIME=180;
	public static final String COOKIENAME = "ui"; //COOKIE名
	public static final String TOKENNAME = "token"; //token名
    /**
     * 房间分类主编号
     */
	public static final String ROOM_CODE ="1000";

    /**
     * 房间类型主编号
     */
    public static final String ROOM_CKIND_ODE ="3000";
    /**
     * 问题类型主编号
     */
	public static final String QUESTION_CODE ="2000";
    /**
     * 消息类型 主编号
     */
    public static final String MSG_CODE ="5000";

    /**
     * 消息类型 单条发送编号
     */
    public static final String MSG_SINGLE_CODE ="5001";

    /**
     * 消息类型 群发编号
     */
    public static final String MSG_GROUPS_CODE ="5002";

    /**
     * 消息类型 全局发送编号
     */
    public static final String MSG_GLOBAL_CODE ="5003";

    public static final String BATCH_SPLIT = "_";

    /**
     * 房间直播人， 主播
     */
    public static final String ROOM_HOMEOWNER_CODE = "4003";
	/**
	 * 短语编号
	 */
	public static final String PHRASEBOOK_CODE = "6000";
	/**
	 * 导航层级编号
	 */
	public static final String NAVIGATION_CODE = "7000";
	/**
	 * 导航层级编号
	 */
	public static final String POSITION_CODE = "8000";
	
	/**
	 * 新闻编号
	 */
	public static final String NEWS_CODE = "100";
	
	/**
	 * 广告分类编号
	 */
	public static final String ADVERTISEMENT_CODE = "200";
	
	/**
	 * 帮助中心编号
	 */
	public static final String HELPCENTER_CODE = "200";


}
